#include "main.h"
#include "mainwindow.h"

int main(int argc, char **argv){
	wxApp::SetInstance(new App());
	return wxEntry(argc, argv);
}

bool App::OnInit(){
    // init images start
    wxInitAllImageHandlers();
    Bitmaps();
    //init images stop
    MainWindow* wind = new MainWindow(NULL, wxT("Komunikator"));
    SetTopWindow(wind);
    wind->Show(true);
    return true;
}

int App::OnExit(){ return 0; }
